﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WorkflowTool
{
    public class WorflowOptions
    {
        public List<IWorkflowFilter>? filters;
        public WorflowOptions()
        {
            filters = new List<IWorkflowFilter>();
        }
        public void Add(IWorkflowFilter filter)
        {
            this.filters.Add(filter);
        }
        public void Add<T>() where T: IWorkflowFilter
        {
            IWorkflowFilter filter = Activator.CreateInstance<T>();
            this.filters.Add(filter);
        }


    }
}
